import numpy as np


def getrand(m,rank):
    while True:
        s = np.random.normal(m+rank*2, 1, 1)
        if s[0]>=m:
            break
    return round(s[0],2)

avg=[50,63,59.8,52,61,56]

def gets(r,rank):
    s=[]
    for i in r:
        s.append(getrand(i,rank))
    return np.array(s)+np.array(avg)

r1=[6.1,6.9,6.2,1.2,3.4,6.2]
r2=[4.5,6.8,5.7,2.8,3.2,6.9]
r3=[5.4,6.4,5.5,3.9,2.7,6.2]
r4=[3.5,8.2,4.6,2.2,4.5,6.9]
r5=[4.9,7.8,5.0,1.7,4.5,6.0]
r6=[3.2,9.2,4.4,1.9,3.6,7.7]
r7=[5.2,6.2,7.1,3.5,2.6,5.1]

print(gets(r1,7))
print(gets(r2,6))
print(gets(r3,5))
print(gets(r4,4))
print(gets(r5,3))
print(gets(r6,2))
print(gets(r7,1))
